#include "D:\Lib_Comm\RobotCommCpac.h"


/* The implemenation templates */
BOOL GRT_GETMODBUSTCPCLIENTCONNECTSTATUS(void)
{
}

BOOL SMODBUSTCPCLIENTINFOinit(SMODBUSTCPCLIENTINFOtyp* inst, BOOL bRetain)
{
	int j, k, l; /* Loop counters */
	inst->B_ENABLE = FALSE;
	inst->B_READ = FALSE;
	inst->B_WRITE = FALSE;
	strcpy(inst->IP, "192.168.0.100");
	inst->PORT = 502;
	inst->STATION_ID = 1;
	inst->READ_START_ADRESS = 1;
	inst->READ_DATA_LEN = 10;
	inst->WRITE_START_ADRESS = 11;
	inst->WRITE_DATA_LEN = 10;
	inst->P_DI_DATA = 0UL;
	inst->P_DO_DATA = 0UL;
	inst->TIME_OUT = 500;
	return bRetain;
}

SMODBUSTCPCLIENTINFOtyp *GRT_GETMODBUSTCPCLIENTINFO(void)
{
}

BOOL SMODBUSTCPSERVERINFOinit(SMODBUSTCPSERVERINFOtyp* inst, BOOL bRetain)
{
	int j, k, l; /* Loop counters */
	inst->B_ENABLE = FALSE;
	strcpy(inst->IP, "192.168.0.2");
	inst->PORT = 502;
	inst->P_DI_DATA = 0UL;
	inst->P_DO_DATA = 0UL;
	inst->TIME_OUT = 500;
	return bRetain;
}

SMODBUSTCPSERVERINFOtyp *GRT_GETMODBUSTCPSERVERINFO(void)
{
}

BOOL GTR_DELETEINSTANCE(void)
{
}

BOOL GTR_LOOPMODBUSTCPCLIENT(void)
{
}

BOOL GTR_LOOPMODBUSTCPSERVER(void)
{
}

BOOL GTR_SETMODBUSTCPCLIENTINFO(SMODBUSTCPCLIENTINFOtyp *INFOparam)
{
}

BOOL GTR_SETMODBUSTCPSERVERINFO(SMODBUSTCPSERVERINFOtyp *INFOparam)
{
}

